//
//  SEExamineRecordHeaderView.swift
//  SmartEyeForPatient
//
//  Created by QDSG on 2021/4/14.
//

import UIKit

class SEExamineRecordHeaderView: UIView {
    
    func updateWithViewModel(_ viewModel: SEExamineDetailViewModel) {
        nameLabel.text = viewModel.patientNameDescribe
        positionLabel.text = viewModel.checkTypeDescribe
        timeLabel.text = viewModel.timeDescribe
        hospitalLabel.text = viewModel.hospitalNameDescribe
    }

    @IBOutlet private weak var nameLabel: UILabel!
    @IBOutlet private weak var positionLabel: UILabel!
    @IBOutlet private weak var timeLabel: UILabel!
    @IBOutlet private weak var hospitalLabel: UILabel!

}
